﻿using FluentMigrator;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Coevery.Database.Migrations
{
    [Migration(20121120104215)]
    public class _20121120104215_UpdateSaveQueryTable : Migration
    {
        public override void Up()
        {
            Update.Table("SavedQuery").Set(new { LayoutXml = "<XtraSerializer version=\"1.0\" application=\"View\">    <property name=\"#LayoutVersion\" />    <property name=\"GroupPanelText\" />    <property name=\"NewItemRowText\" />    <property name=\"GroupFooterShowMode\">VisibleIfExpanded</property>    <property name=\"LevelIndent\">-1</property>    <property name=\"PreviewIndent\">-1</property>    <property name=\"PreviewLineCount\">-1</property>    <property name=\"BestFitMaxRowCount\">-1</property>    <property name=\"ScrollStyle\">LiveVertScroll, LiveHorzScroll</property>    <property name=\"FocusRectStyle\">RowFocus</property>    <property name=\"HorzScrollStep\">3</property>    <property name=\"PreviewFieldName\" />    <property name=\"ViewCaptionHeight\">-1</property>    <property name=\"ShowButtonMode\">ShowForFocusedCell</property>    <property name=\"Columns\" iskey=\"true\" value=\"24\">      <property name=\"Item1\" isnull=\"true\" iskey=\"true\">        <property name=\"Visible\">true</property>        <property name=\"VisibleIndex\">0</property>        <property name=\"Width\">132</property>        <property name=\"ColumnEditName\" />        <property name=\"Name\">colFullName</property>        <property name=\"OptionsColumn\" isnull=\"true\" iskey=\"true\">          <property name=\"FixedWidth\">true</property>        </property>        <property name=\"Caption\">FullName</property>        <property name=\"FieldName\">FullName</property>      </property>      <property name=\"Item2\" isnull=\"true\" iskey=\"true\">        <property name=\"Visible\">true</property>        <property name=\"VisibleIndex\">1</property>        <property name=\"Width\">230</property>        <property name=\"ColumnEditName\" />        <property name=\"Name\">colSubject</property>        <property name=\"Caption\">Subject</property>        <property name=\"FieldName\">Subject</property>      </property>      <property name=\"Item3\" isnull=\"true\" iskey=\"true\">        <property name=\"Visible\">true</property>        <property name=\"VisibleIndex\">3</property>        <property name=\"ColumnEditName\" />        <property name=\"Name\">colTechnology</property>        <property name=\"Caption\">Technology</property>        <property name=\"FieldName\">Technology</property>      </property>      <property name=\"Item4\" isnull=\"true\" iskey=\"true\">        <property name=\"Visible\">true</property>        <property name=\"VisibleIndex\">5</property>        <property name=\"ColumnEditName\" />        <property name=\"Name\">colStatusCode</property>        <property name=\"OptionsColumn\" isnull=\"true\" iskey=\"true\">          <property name=\"FixedWidth\">true</property>        </property>        <property name=\"Caption\">StatusCode</property>        <property name=\"FieldName\">StatusCode</property>      </property>      <property name=\"Item5\" isnull=\"true\" iskey=\"true\">        <property name=\"ColumnEditName\" />        <property name=\"Name\">colCompanyName</property>        <property name=\"OptionsColumn\" isnull=\"true\" iskey=\"true\">          <property name=\"FixedWidth\">true</property>        </property>        <property name=\"Caption\">CompanyName</property>        <property name=\"FieldName\">CompanyName</property>      </property>      <property name=\"Item6\" isnull=\"true\" iskey=\"true\">        <property name=\"ColumnEditName\" />        <property name=\"Name\">colDescription</property>        <property name=\"OptionsColumn\" isnull=\"true\" iskey=\"true\">          <property name=\"FixedWidth\">true</property>        </property>        <property name=\"Caption\">Description</property>        <property name=\"FieldName\">Description</property>      </property>      <property name=\"Item7\" isnull=\"true\" iskey=\"true\">        <property name=\"Visible\">true</property>        <property name=\"VisibleIndex\">2</property>        <property name=\"ColumnEditName\" />        <property name=\"Name\">colEmailAddress</property>        <property name=\"OptionsColumn\" isnull=\"true\" iskey=\"true\">          <property name=\"FixedWidth\">true</property>        </property>        <property name=\"Caption\">EmailAddress</property>        <property name=\"FieldName\">EmailAddress</property>      </property>      <property name=\"Item8\" isnull=\"true\" iskey=\"true\">        <property name=\"ColumnEditName\" />        <property name=\"Name\">colFax</property>        <property name=\"OptionsColumn\" isnull=\"true\" iskey=\"true\">          <property name=\"FixedWidth\">true</property>        </property>        <property name=\"Caption\">Fax</property>        <property name=\"FieldName\">Fax</property>      </property>      <property name=\"Item9\" isnull=\"true\" iskey=\"true\">        <property name=\"ColumnEditName\" />        <property name=\"Name\">colFirstName</property>        <property name=\"OptionsColumn\" isnull=\"true\" iskey=\"true\">          <property name=\"FixedWidth\">true</property>        </property>        <property name=\"Caption\">FirstName</property>        <property name=\"FieldName\">FirstName</property>      </property>      <property name=\"Item10\" isnull=\"true\" iskey=\"true\">        <property name=\"ColumnEditName\" />        <property name=\"Name\">colLastName</property>        <property name=\"OptionsColumn\" isnull=\"true\" iskey=\"true\">          <property name=\"FixedWidth\">true</property>        </property>        <property name=\"FieldName\">LastName</property>      </property>      <property name=\"Item11\" isnull=\"true\" iskey=\"true\">        <property name=\"ColumnEditName\" />        <property name=\"Name\">colLeadSourceCode</property>        <property name=\"OptionsColumn\" isnull=\"true\" iskey=\"true\">          <property name=\"FixedWidth\">true</property>        </property>        <property name=\"Caption\">Source</property>        <property name=\"FieldName\">LeadSourceCode</property>      </property>      <property name=\"Item12\" isnull=\"true\" iskey=\"true\">        <property name=\"ColumnEditName\" />        <property name=\"Name\">colMobilePhone</property>        <property name=\"OptionsColumn\" isnull=\"true\" iskey=\"true\">          <property name=\"FixedWidth\">true</property>        </property>        <property name=\"FieldName\">MobilePhone</property>      </property>      <property name=\"Item13\" isnull=\"true\" iskey=\"true\">        <property name=\"Visible\">true</property>        <property name=\"VisibleIndex\">8</property>        <property name=\"Width\">101</property>        <property name=\"ColumnEditName\" />        <property name=\"Name\">colModifiedOn</property>        <property name=\"OptionsColumn\" isnull=\"true\" iskey=\"true\">          <property name=\"FixedWidth\">true</property>        </property>        <property name=\"FieldName\">ModifiedOn</property>      </property>      <property name=\"Item14\" isnull=\"true\" iskey=\"true\">        <property name=\"ColumnEditName\" />        <property name=\"Name\">colCreatedOn</property>        <property name=\"OptionsColumn\" isnull=\"true\" iskey=\"true\">          <property name=\"FixedWidth\">true</property>        </property>        <property name=\"FieldName\">CreatedOn</property>      </property>      <property name=\"Item15\" isnull=\"true\" iskey=\"true\">        <property name=\"ColumnEditName\" />        <property name=\"Name\">colNumberOfEmployees</property>        <property name=\"OptionsColumn\" isnull=\"true\" iskey=\"true\">          <property name=\"FixedWidth\">true</property>        </property>        <property name=\"FieldName\">NumberOfEmployees</property>      </property>      <property name=\"Item16\" isnull=\"true\" iskey=\"true\">        <property name=\"Visible\">true</property>        <property name=\"VisibleIndex\">4</property>        <property name=\"ColumnEditName\" />        <property name=\"Name\">colPriorityCode</property>        <property name=\"OptionsColumn\" isnull=\"true\" iskey=\"true\">          <property name=\"FixedWidth\">true</property>        </property>        <property name=\"Caption\">Priority</property>        <property name=\"FieldName\">PriorityCode</property>      </property>      <property name=\"Item17\" isnull=\"true\" iskey=\"true\">        <property name=\"ColumnEditName\" />        <property name=\"Name\">colRevenue</property>        <property name=\"OptionsColumn\" isnull=\"true\" iskey=\"true\">          <property name=\"FixedWidth\">true</property>        </property>        <property name=\"FieldName\">Revenue</property>      </property>      <property name=\"Item18\" isnull=\"true\" iskey=\"true\">        <property name=\"ColumnEditName\" />        <property name=\"Name\">colTelephone1</property>        <property name=\"OptionsColumn\" isnull=\"true\" iskey=\"true\">          <property name=\"FixedWidth\">true</property>        </property>        <property name=\"Caption\">Office Phone</property>        <property name=\"FieldName\">Telephone1</property>      </property>      <property name=\"Item19\" isnull=\"true\" iskey=\"true\">        <property name=\"ColumnEditName\" />        <property name=\"Name\">colWebSiteUrl</property>        <property name=\"OptionsColumn\" isnull=\"true\" iskey=\"true\">          <property name=\"FixedWidth\">true</property>        </property>        <property name=\"FieldName\">WebSiteUrl</property>      </property>      <property name=\"Item20\" isnull=\"true\" iskey=\"true\">        <property name=\"ColumnEditName\" />        <property name=\"Name\">colCountry</property>        <property name=\"OptionsColumn\" isnull=\"true\" iskey=\"true\">          <property name=\"FixedWidth\">true</property>        </property>        <property name=\"Caption\">CountryCode</property>        <property name=\"FieldName\">Country</property>      </property>      <property name=\"Item21\" isnull=\"true\" iskey=\"true\">        <property name=\"Visible\">true</property>        <property name=\"VisibleIndex\">6</property>        <property name=\"ColumnEditName\" />        <property name=\"Name\">colOwnerId</property>        <property name=\"FieldName\">OwnerId</property>      </property>      <property name=\"Item22\" isnull=\"true\" iskey=\"true\">        <property name=\"ColumnEditName\" />        <property name=\"Name\">colCreatedById</property>        <property name=\"FieldName\">CreatedById</property>      </property>      <property name=\"Item23\" isnull=\"true\" iskey=\"true\">        <property name=\"Visible\">true</property>        <property name=\"VisibleIndex\">7</property>        <property name=\"ColumnEditName\" />        <property name=\"Name\">colDepartmentId</property>        <property name=\"FieldName\">DepartmentId</property>      </property>      <property name=\"Item24\" isnull=\"true\" iskey=\"true\">        <property name=\"ColumnEditName\" />        <property name=\"Name\">colModifiedById</property>        <property name=\"FieldName\">ModifiedById</property>      </property>    </property>    <property name=\"ViewCaption\" />    <property name=\"BorderStyle\">Default</property>    <property name=\"SynchronizeClones\">true</property>    <property name=\"DetailTabHeaderLocation\">Top</property>    <property name=\"Name\">EntityGridView</property>    <property name=\"DetailHeight\">350</property>    <property name=\"ActiveFilterEnabled\">true</property>    <property name=\"VertScrollTipFieldName\" />    <property name=\"GroupFormat\">{0}: [#image]{1} {2}</property>    <property name=\"OptionsView\" isnull=\"true\" iskey=\"true\">      <property name=\"ShowFilterPanelMode\">Never</property>      <property name=\"ShowIndicator\">false</property>      <property name=\"ShowGroupPanel\">false</property>      <property name=\"WaitAnimationOptions\">Panel</property>      <property name=\"ColumnAutoWidth\">false</property>    </property>    <property name=\"OptionsBehavior\" isnull=\"true\" iskey=\"true\">      <property name=\"Editable\">false</property>      <property name=\"AllowIncrementalSearch\">true</property>    </property>    <property name=\"FixedLineWidth\">2</property>    <property name=\"OptionsDetail\" isnull=\"true\" iskey=\"true\">      <property name=\"EnableMasterViewMode\">false</property>    </property>    <property name=\"ChildGridLevelName\" />    <property name=\"IndicatorWidth\">-1</property>    <property name=\"OptionsSelection\" isnull=\"true\" iskey=\"true\">      <property name=\"EnableAppearanceFocusedCell\">false</property>    </property>    <property name=\"ColumnPanelRowHeight\">-1</property>    <property name=\"VertScrollVisibility\">Auto</property>    <property name=\"GroupRowHeight\">-1</property>    <property name=\"HorzScrollVisibility\">Auto</property>    <property name=\"FooterPanelHeight\">-1</property>    <property name=\"RowSeparatorHeight\">0</property>    <property name=\"RowHeight\">-1</property>    <property name=\"ActiveFilterString\" />    <property name=\"GroupSummary\" iskey=\"true\" value=\"0\" />    <property name=\"SortInfo\">~Xtra#Base64AAEAAAD/////AQAAAAAAAAAMAgAAAF1EZXZFeHByZXNzLlh0cmFHcmlkLnYxMi4xLCBWZXJzaW9uPTEyLjEuNy4wLCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI4OGQxNzU0ZDcwMGU0OWEFAQAAADhEZXZFeHByZXNzLlh0cmFHcmlkLkNvbHVtbnMuR3JpZENvbHVtblNvcnRJbmZvQ29sbGVjdGlvbgQAAAAKZ3JvdXBDb3VudAVjbG9uZQ9jbG9uZUdyb3VwQ291bnQTQ29sbGVjdGlvbkJhc2UrbGlzdAADAAMIsgFTeXN0ZW0uQ29sbGVjdGlvbnMuR2VuZXJpYy5MaXN0YDFbW0RldkV4cHJlc3MuWHRyYUdyaWQuQ29sdW1ucy5HcmlkQ29sdW1uU29ydEluZm8sIERldkV4cHJlc3MuWHRyYUdyaWQudjEyLjEsIFZlcnNpb249MTIuMS43LjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjg4ZDE3NTRkNzAwZTQ5YV1dCBxTeXN0ZW0uQ29sbGVjdGlvbnMuQXJyYXlMaXN0AgAAAAAAAAAJAwAAAAAAAAAJBAAAAAQDAAAAsgFTeXN0ZW0uQ29sbGVjdGlvbnMuR2VuZXJpYy5MaXN0YDFbW0RldkV4cHJlc3MuWHRyYUdyaWQuQ29sdW1ucy5HcmlkQ29sdW1uU29ydEluZm8sIERldkV4cHJlc3MuWHRyYUdyaWQudjEyLjEsIFZlcnNpb249MTIuMS43LjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjg4ZDE3NTRkNzAwZTQ5YV1dAwAAAAZfaXRlbXMFX3NpemUIX3ZlcnNpb24EAAAwRGV2RXhwcmVzcy5YdHJhR3JpZC5Db2x1bW5zLkdyaWRDb2x1bW5Tb3J0SW5mb1tdAgAAAAgICQUAAAAAAAAAAAAAAAQEAAAAHFN5c3RlbS5Db2xsZWN0aW9ucy5BcnJheUxpc3QDAAAABl9pdGVtcwVfc2l6ZQhfdmVyc2lvbgUAAAgICQYAAAABAAAABgAAAAcFAAAAAAEAAAAAAAAABC5EZXZFeHByZXNzLlh0cmFHcmlkLkNvbHVtbnMuR3JpZENvbHVtblNvcnRJbmZvAgAAABAGAAAABAAAAAkHAAAADQMMCAAAABlEZXZFeHByZXNzLlh0cmFHcmlkLnYxMi4xBQcAAAAuRGV2RXhwcmVzcy5YdHJhR3JpZC5Db2x1bW5zLkdyaWRDb2x1bW5Tb3J0SW5mbwIAAAAJU29ydE9yZGVyCkNvbHVtbk5hbWUAAQgIAAAAAgAAAAYJAAAADWNvbE1vZGlmaWVkT24L</property>    <property name=\"FormatConditions\" iskey=\"true\" value=\"1\">      <property name=\"Item1\" isnull=\"true\" iskey=\"true\">        <property name=\"ColumnName\" />        <property name=\"Condition\">Expression</property>      </property>    </property>    <property name=\"GroupSummarySortInfoState\" />    <property name=\"FindFilterText\" />    <property name=\"FindPanelVisible\">false</property>  </XtraSerializer>" }).Where(new { SavedQueryId = "21AC7559-5E31-4054-AC2F-29ADB3BC8D1C" });
            Update.Table("SavedQuery").Set(new { LayoutXml = "<XtraSerializer version=\"1.0\" application=\"View\">    <property name=\"#LayoutVersion\" />    <property name=\"GroupPanelText\" />    <property name=\"NewItemRowText\" />    <property name=\"GroupFooterShowMode\">VisibleIfExpanded</property>    <property name=\"LevelIndent\">-1</property>    <property name=\"PreviewIndent\">-1</property>    <property name=\"PreviewLineCount\">-1</property>    <property name=\"BestFitMaxRowCount\">-1</property>    <property name=\"ScrollStyle\">LiveVertScroll, LiveHorzScroll</property>    <property name=\"FocusRectStyle\">RowFocus</property>    <property name=\"HorzScrollStep\">3</property>    <property name=\"PreviewFieldName\" />    <property name=\"ViewCaptionHeight\">-1</property>    <property name=\"ShowButtonMode\">ShowForFocusedCell</property>    <property name=\"Columns\" iskey=\"true\" value=\"25\">      <property name=\"Item1\" isnull=\"true\" iskey=\"true\">        <property name=\"ColumnEditName\" />        <property name=\"Name\">colActualCloseDate</property>        <property name=\"FieldName\">ActualCloseDate</property>      </property>      <property name=\"Item2\" isnull=\"true\" iskey=\"true\">        <property name=\"ColumnEditName\" />        <property name=\"Name\">colCloseProbability</property>        <property name=\"FieldName\">CloseProbability</property>      </property>      <property name=\"Item3\" isnull=\"true\" iskey=\"true\">        <property name=\"ColumnEditName\" />        <property name=\"Name\">colActualValue</property>        <property name=\"FieldName\">ActualValue</property>      </property>      <property name=\"Item4\" isnull=\"true\" iskey=\"true\">        <property name=\"ColumnEditName\" />        <property name=\"Name\">colCreatedOn</property>        <property name=\"FieldName\">CreatedOn</property>      </property>      <property name=\"Item5\" isnull=\"true\" iskey=\"true\">        <property name=\"Width\">150</property>        <property name=\"ColumnEditName\" />        <property name=\"Name\">colDescription</property>        <property name=\"FieldName\">Description</property>      </property>      <property name=\"Item6\" isnull=\"true\" iskey=\"true\">        <property name=\"Visible\">true</property>        <property name=\"VisibleIndex\">9</property>        <property name=\"Width\">82</property>        <property name=\"ColumnEditName\" />        <property name=\"Name\">colEstimatedCloseDate</property>        <property name=\"FieldName\">EstimatedCloseDate</property>      </property>      <property name=\"Item7\" isnull=\"true\" iskey=\"true\">        <property name=\"DisplayFormat\" isnull=\"true\" iskey=\"true\">          <property name=\"FormatString\">n0</property>          <property name=\"FormatType\">Numeric</property>        </property>        <property name=\"Visible\">true</property>        <property name=\"VisibleIndex\">4</property>        <property name=\"Width\">79</property>        <property name=\"ColumnEditName\" />        <property name=\"Name\">colEstimatedValue</property>        <property name=\"FieldName\">EstimatedValue</property>      </property>      <property name=\"Item8\" isnull=\"true\" iskey=\"true\">        <property name=\"ColumnEditName\" />        <property name=\"Name\">colLeadSourceCode</property>        <property name=\"FieldName\">LeadSourceCode</property>      </property>      <property name=\"Item9\" isnull=\"true\" iskey=\"true\">        <property name=\"Visible\">true</property>        <property name=\"VisibleIndex\">12</property>        <property name=\"Width\">103</property>        <property name=\"ColumnEditName\" />        <property name=\"Name\">colModifiedOn</property>        <property name=\"FieldName\">ModifiedOn</property>      </property>      <property name=\"Item10\" isnull=\"true\" iskey=\"true\">        <property name=\"Visible\">true</property>        <property name=\"VisibleIndex\">0</property>        <property name=\"Width\">145</property>        <property name=\"ColumnEditName\" />        <property name=\"Name\">colName</property>        <property name=\"FieldName\">Name</property>      </property>      <property name=\"Item11\" isnull=\"true\" iskey=\"true\">        <property name=\"ColumnEditName\" />        <property name=\"Name\">colOpportunityId</property>        <property name=\"FieldName\">OpportunityId</property>      </property>      <property name=\"Item12\" isnull=\"true\" iskey=\"true\">        <property name=\"Visible\">true</property>        <property name=\"VisibleIndex\">6</property>        <property name=\"Width\">72</property>        <property name=\"ColumnEditName\" />        <property name=\"Name\">colOpportunityRatingCode</property>        <property name=\"FieldName\">OpportunityRatingCode</property>      </property>      <property name=\"Item13\" isnull=\"true\" iskey=\"true\">        <property name=\"ColumnEditName\" />        <property name=\"Name\">colOpportunityTypeCode</property>        <property name=\"FieldName\">OpportunityTypeCode</property>      </property>      <property name=\"Item14\" isnull=\"true\" iskey=\"true\">        <property name=\"Visible\">true</property>        <property name=\"VisibleIndex\">7</property>        <property name=\"Width\">73</property>        <property name=\"ColumnEditName\" />        <property name=\"Name\">colSalesStageCode</property>        <property name=\"Caption\">SalesStage</property>        <property name=\"FieldName\">SalesStageCode</property>      </property>      <property name=\"Item15\" isnull=\"true\" iskey=\"true\">        <property name=\"Visible\">true</property>        <property name=\"VisibleIndex\">5</property>        <property name=\"Width\">55</property>        <property name=\"ColumnEditName\" />        <property name=\"Name\">colPriorityCode</property>        <property name=\"FieldName\">PriorityCode</property>      </property>      <property name=\"Item16\" isnull=\"true\" iskey=\"true\">        <property name=\"Width\">100</property>        <property name=\"ColumnEditName\" />        <property name=\"Name\">colStepName</property>        <property name=\"FieldName\">StepName</property>      </property>      <property name=\"Item17\" isnull=\"true\" iskey=\"true\">        <property name=\"Visible\">true</property>        <property name=\"VisibleIndex\">2</property>        <property name=\"Width\">103</property>        <property name=\"ColumnEditName\" />        <property name=\"Name\">colTechnology</property>        <property name=\"FieldName\">Technology</property>      </property>      <property name=\"Item18\" isnull=\"true\" iskey=\"true\">        <property name=\"Visible\">true</property>        <property name=\"VisibleIndex\">1</property>        <property name=\"Width\">95</property>        <property name=\"ColumnEditName\" />        <property name=\"Name\">colProjectTypeCode</property>        <property name=\"FieldName\">ProjectTypeCode</property>      </property>      <property name=\"Item19\" isnull=\"true\" iskey=\"true\">        <property name=\"ColumnEditName\" />        <property name=\"Name\">colCreatedById</property>        <property name=\"FieldName\">CreatedById</property>      </property>      <property name=\"Item20\" isnull=\"true\" iskey=\"true\">        <property name=\"Visible\">true</property>        <property name=\"VisibleIndex\">3</property>        <property name=\"ColumnEditName\" />        <property name=\"Name\">colCustomerId</property>        <property name=\"FieldName\">CustomerId</property>      </property>      <property name=\"Item21\" isnull=\"true\" iskey=\"true\">        <property name=\"Visible\">true</property>        <property name=\"VisibleIndex\">8</property>        <property name=\"Width\">67</property>        <property name=\"ColumnEditName\" />        <property name=\"Name\">colStatusCode</property>        <property name=\"FieldName\">StatusCode</property>      </property>      <property name=\"Item22\" isnull=\"true\" iskey=\"true\">        <property name=\"Visible\">true</property>        <property name=\"VisibleIndex\">11</property>        <property name=\"ColumnEditName\" />        <property name=\"Name\">colDepartmentId</property>        <property name=\"FieldName\">DepartmentId</property>      </property>      <property name=\"Item23\" isnull=\"true\" iskey=\"true\">        <property name=\"ColumnEditName\" />        <property name=\"Name\">colModifiedById</property>        <property name=\"FieldName\">ModifiedById</property>      </property>      <property name=\"Item24\" isnull=\"true\" iskey=\"true\">        <property name=\"Visible\">true</property>        <property name=\"VisibleIndex\">10</property>        <property name=\"ColumnEditName\" />        <property name=\"Name\">colOwnerId</property>        <property name=\"FieldName\">OwnerId</property>      </property>      <property name=\"Item25\" isnull=\"true\" iskey=\"true\">        <property name=\"ColumnEditName\" />        <property name=\"Name\">colTechnicianId</property>        <property name=\"FieldName\">TechnicianId</property>      </property>    </property>    <property name=\"ViewCaption\" />    <property name=\"BorderStyle\">Default</property>    <property name=\"SynchronizeClones\">true</property>    <property name=\"DetailTabHeaderLocation\">Top</property>    <property name=\"Name\">gridView1</property>    <property name=\"DetailHeight\">350</property>    <property name=\"ActiveFilterEnabled\">true</property>    <property name=\"VertScrollTipFieldName\" />    <property name=\"GroupFormat\">{0}: [#image]{1} {2}</property>    <property name=\"OptionsView\" isnull=\"true\" iskey=\"true\">      <property name=\"ShowFilterPanelMode\">Never</property>      <property name=\"ShowIndicator\">false</property>      <property name=\"ShowGroupPanel\">false</property>      <property name=\"WaitAnimationOptions\">Panel</property>      <property name=\"ColumnAutoWidth\">false</property>    </property>    <property name=\"OptionsBehavior\" isnull=\"true\" iskey=\"true\">      <property name=\"Editable\">false</property>      <property name=\"AutoPopulateColumns\">false</property>    </property>    <property name=\"FixedLineWidth\">2</property>    <property name=\"OptionsDetail\" isnull=\"true\" iskey=\"true\">      <property name=\"EnableMasterViewMode\">false</property>    </property>    <property name=\"ChildGridLevelName\" />    <property name=\"IndicatorWidth\">-1</property>    <property name=\"OptionsSelection\" isnull=\"true\" iskey=\"true\">      <property name=\"EnableAppearanceFocusedCell\">false</property>    </property>    <property name=\"ColumnPanelRowHeight\">-1</property>    <property name=\"VertScrollVisibility\">Auto</property>    <property name=\"GroupRowHeight\">-1</property>    <property name=\"HorzScrollVisibility\">Auto</property>    <property name=\"FooterPanelHeight\">-1</property>    <property name=\"RowSeparatorHeight\">0</property>    <property name=\"RowHeight\">-1</property>    <property name=\"ActiveFilterString\" />    <property name=\"GroupSummary\" iskey=\"true\" value=\"0\" />    <property name=\"SortInfo\">~Xtra#Base64AAEAAAD/////AQAAAAAAAAAMAgAAAF1EZXZFeHByZXNzLlh0cmFHcmlkLnYxMi4xLCBWZXJzaW9uPTEyLjEuNy4wLCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI4OGQxNzU0ZDcwMGU0OWEFAQAAADhEZXZFeHByZXNzLlh0cmFHcmlkLkNvbHVtbnMuR3JpZENvbHVtblNvcnRJbmZvQ29sbGVjdGlvbgQAAAAKZ3JvdXBDb3VudAVjbG9uZQ9jbG9uZUdyb3VwQ291bnQTQ29sbGVjdGlvbkJhc2UrbGlzdAADAAMIsgFTeXN0ZW0uQ29sbGVjdGlvbnMuR2VuZXJpYy5MaXN0YDFbW0RldkV4cHJlc3MuWHRyYUdyaWQuQ29sdW1ucy5HcmlkQ29sdW1uU29ydEluZm8sIERldkV4cHJlc3MuWHRyYUdyaWQudjEyLjEsIFZlcnNpb249MTIuMS43LjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjg4ZDE3NTRkNzAwZTQ5YV1dCBxTeXN0ZW0uQ29sbGVjdGlvbnMuQXJyYXlMaXN0AgAAAAAAAAAJAwAAAAAAAAAJBAAAAAQDAAAAsgFTeXN0ZW0uQ29sbGVjdGlvbnMuR2VuZXJpYy5MaXN0YDFbW0RldkV4cHJlc3MuWHRyYUdyaWQuQ29sdW1ucy5HcmlkQ29sdW1uU29ydEluZm8sIERldkV4cHJlc3MuWHRyYUdyaWQudjEyLjEsIFZlcnNpb249MTIuMS43LjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjg4ZDE3NTRkNzAwZTQ5YV1dAwAAAAZfaXRlbXMFX3NpemUIX3ZlcnNpb24EAAAwRGV2RXhwcmVzcy5YdHJhR3JpZC5Db2x1bW5zLkdyaWRDb2x1bW5Tb3J0SW5mb1tdAgAAAAgICQUAAAAAAAAAAAAAAAQEAAAAHFN5c3RlbS5Db2xsZWN0aW9ucy5BcnJheUxpc3QDAAAABl9pdGVtcwVfc2l6ZQhfdmVyc2lvbgUAAAgICQYAAAABAAAABgAAAAcFAAAAAAEAAAAAAAAABC5EZXZFeHByZXNzLlh0cmFHcmlkLkNvbHVtbnMuR3JpZENvbHVtblNvcnRJbmZvAgAAABAGAAAABAAAAAkHAAAADQMMCAAAABlEZXZFeHByZXNzLlh0cmFHcmlkLnYxMi4xBQcAAAAuRGV2RXhwcmVzcy5YdHJhR3JpZC5Db2x1bW5zLkdyaWRDb2x1bW5Tb3J0SW5mbwIAAAAJU29ydE9yZGVyCkNvbHVtbk5hbWUAAQgIAAAAAgAAAAYJAAAADWNvbE1vZGlmaWVkT24L</property>    <property name=\"FormatConditions\" iskey=\"true\" value=\"0\" />    <property name=\"GroupSummarySortInfoState\" />    <property name=\"FindFilterText\" />    <property name=\"FindPanelVisible\">false</property>  </XtraSerializer>" }).Where(new { SavedQueryId = "89818C3C-29B0-4D1F-9E09-BB50075141C0" });
            Update.Table("SavedQuery").Set(new { LayoutXml = "<XtraSerializer version=\"1.0\" application=\"View\">    <property name=\"#LayoutVersion\" />    <property name=\"ScrollStyle\">LiveVertScroll, LiveHorzScroll</property>    <property name=\"BestFitMaxRowCount\">-1</property>    <property name=\"HorzScrollStep\">3</property>    <property name=\"FocusRectStyle\">RowFocus</property>    <property name=\"PreviewLineCount\">-1</property>    <property name=\"NewItemRowText\" />    <property name=\"GroupPanelText\" />    <property name=\"PreviewFieldName\" />    <property name=\"PreviewIndent\">-1</property>    <property name=\"LevelIndent\">-1</property>    <property name=\"GroupFooterShowMode\">VisibleIfExpanded</property>    <property name=\"ActiveFilterEnabled\">true</property>    <property name=\"SynchronizeClones\">true</property>    <property name=\"BorderStyle\">Default</property>    <property name=\"ViewCaption\" />    <property name=\"DetailHeight\">350</property>    <property name=\"Name\">gridView1</property>    <property name=\"DetailTabHeaderLocation\">Top</property>    <property name=\"Columns\" iskey=\"true\" value=\"21\">      <property name=\"Item1\" isnull=\"true\" iskey=\"true\">        <property name=\"Width\">150</property>        <property name=\"Visible\">true</property>        <property name=\"VisibleIndex\">0</property>        <property name=\"Name\">colName</property>        <property name=\"ColumnEditName\" />        <property name=\"FieldName\">Name</property>      </property>      <property name=\"Item2\" isnull=\"true\" iskey=\"true\">        <property name=\"Width\">95</property>        <property name=\"Visible\">true</property>        <property name=\"VisibleIndex\">3</property>        <property name=\"Name\">colPlannedStartDate</property>        <property name=\"ColumnEditName\" />        <property name=\"FieldName\">PlannedStartDate</property>      </property>      <property name=\"Item3\" isnull=\"true\" iskey=\"true\">        <property name=\"Width\">95</property>        <property name=\"Visible\">true</property>        <property name=\"VisibleIndex\">5</property>        <property name=\"Name\">colPlannedEndDate</property>        <property name=\"ColumnEditName\" />        <property name=\"FieldName\">PlannedEndDate</property>      </property>      <property name=\"Item4\" isnull=\"true\" iskey=\"true\">        <property name=\"Width\">95</property>        <property name=\"Visible\">true</property>        <property name=\"VisibleIndex\">4</property>        <property name=\"Name\">colActualStartDate</property>        <property name=\"ColumnEditName\" />        <property name=\"FieldName\">ActualStartDate</property>      </property>      <property name=\"Item5\" isnull=\"true\" iskey=\"true\">        <property name=\"Width\">95</property>        <property name=\"Visible\">true</property>        <property name=\"VisibleIndex\">7</property>        <property name=\"Name\">colActualEndDate</property>        <property name=\"ColumnEditName\" />        <property name=\"FieldName\">ActualEndDate</property>      </property>      <property name=\"Item6\" isnull=\"true\" iskey=\"true\">        <property name=\"Width\">110</property>        <property name=\"Visible\">true</property>        <property name=\"VisibleIndex\">2</property>        <property name=\"Name\">colActualProgress</property>        <property name=\"ColumnEditName\" />        <property name=\"FieldName\">ActualProgress</property>      </property>      <property name=\"Item7\" isnull=\"true\" iskey=\"true\">        <property name=\"Width\">91</property>        <property name=\"Visible\">true</property>        <property name=\"VisibleIndex\">1</property>        <property name=\"Name\">colStatusCode</property>        <property name=\"ColumnEditName\" />        <property name=\"FieldName\">StatusCode</property>      </property>      <property name=\"Item8\" isnull=\"true\" iskey=\"true\">        <property name=\"Width\">95</property>        <property name=\"Visible\">true</property>        <property name=\"VisibleIndex\">6</property>        <property name=\"Name\">colEstimatedEndDate</property>        <property name=\"ColumnEditName\" />        <property name=\"FieldName\">EstimatedEndDate</property>      </property>      <property name=\"Item9\" isnull=\"true\" iskey=\"true\">        <property name=\"Name\">colManagerId</property>        <property name=\"ColumnEditName\" />        <property name=\"FieldName\">ManagerId</property>      </property>      <property name=\"Item10\" isnull=\"true\" iskey=\"true\">        <property name=\"Width\">110</property>        <property name=\"Visible\">true</property>        <property name=\"VisibleIndex\">8</property>        <property name=\"Name\">colSaleService</property>        <property name=\"ColumnEditName\" />        <property name=\"FieldName\">SaleServiceId</property>      </property>      <property name=\"Item11\" isnull=\"true\" iskey=\"true\">        <property name=\"Width\">150</property>        <property name=\"Name\">colTechnology</property>        <property name=\"ColumnEditName\" />        <property name=\"FieldName\">Technology</property>      </property>      <property name=\"Item12\" isnull=\"true\" iskey=\"true\">        <property name=\"Width\">100</property>        <property name=\"Name\">colProjectTypeCode</property>        <property name=\"ColumnEditName\" />        <property name=\"FieldName\">ProjectTypeCode</property>      </property>      <property name=\"Item13\" isnull=\"true\" iskey=\"true\">        <property name=\"Name\">colSumQuoteWorkHours</property>        <property name=\"Caption\"></property>        <property name=\"ColumnEditName\" />      </property>      <property name=\"Item14\" isnull=\"true\" iskey=\"true\">        <property name=\"Name\">colSumActualWorkHours</property>        <property name=\"Caption\"></property>        <property name=\"ColumnEditName\" />      </property>      <property name=\"Item15\" isnull=\"true\" iskey=\"true\">        <property name=\"Name\">colSumActualInput</property>        <property name=\"Caption\"></property>        <property name=\"ColumnEditName\" />      </property>      <property name=\"Item16\" isnull=\"true\" iskey=\"true\">        <property name=\"Name\">colSumEffort</property>        <property name=\"Caption\"></property>        <property name=\"ColumnEditName\" />      </property>      <property name=\"Item17\" isnull=\"true\" iskey=\"true\">        <property name=\"Name\">colSumOvertime</property>        <property name=\"Caption\"></property>        <property name=\"ColumnEditName\" />      </property>      <property name=\"Item18\" isnull=\"true\" iskey=\"true\">        <property name=\"Name\">colSumRemainderTime</property>        <property name=\"Caption\"></property>        <property name=\"ColumnEditName\" />      </property>   <property name=\"Item19\" isnull=\"true\" iskey=\"true\">        <property name=\"Width\">130</property>        <property name=\"Name\">colContact</property>        <property name=\"ColumnEditName\" />        <property name=\"FieldName\">Contact</property>      </property>      <property name=\"Item20\" isnull=\"true\" iskey=\"true\">        <property name=\"Name\">colEvaluateExactlyRate</property>        <property name=\"Caption\"></property>        <property name=\"ColumnEditName\" />      </property>   <property name=\"Item21\" isnull=\"true\" iskey=\"true\">        <property name=\"Name\">colInputEffortRate</property>        <property name=\"Caption\"></property>        <property name=\"ColumnEditName\" />      </property>    </property>    <property name=\"ShowButtonMode\">ShowForFocusedCell</property>    <property name=\"ViewCaptionHeight\">-1</property>    <property name=\"VertScrollTipFieldName\" />    <property name=\"OptionsView\" isnull=\"true\" iskey=\"true\">      <property name=\"ShowGroupPanel\">false</property>      <property name=\"ShowFilterPanelMode\">Never</property>      <property name=\"ShowIndicator\">false</property>      <property name=\"ColumnAutoWidth\">false</property>      <property name=\"WaitAnimationOptions\">Panel</property>    </property>    <property name=\"OptionsSelection\" isnull=\"true\" iskey=\"true\">      <property name=\"EnableAppearanceFocusedCell\">false</property>    </property>    <property name=\"RowSeparatorHeight\">0</property>    <property name=\"FixedLineWidth\">2</property>    <property name=\"IndicatorWidth\">-1</property>    <property name=\"ColumnPanelRowHeight\">-1</property>    <property name=\"GroupRowHeight\">-1</property>    <property name=\"RowHeight\">-1</property>    <property name=\"OptionsBehavior\" isnull=\"true\" iskey=\"true\">      <property name=\"Editable\">false</property>    </property>    <property name=\"GroupFormat\">{0}: [#image]{1} {2}</property>    <property name=\"FooterPanelHeight\">-1</property>    <property name=\"OptionsDetail\" isnull=\"true\" iskey=\"true\">      <property name=\"EnableMasterViewMode\">false</property>    </property>    <property name=\"ChildGridLevelName\" />    <property name=\"VertScrollVisibility\">Auto</property>    <property name=\"HorzScrollVisibility\">Auto</property>    <property name=\"FormatConditions\" iskey=\"true\" value=\"0\" />    <property name=\"GroupSummary\" iskey=\"true\" value=\"0\" />    <property name=\"ActiveFilterString\" />    <property name=\"GroupSummarySortInfoState\" />  </XtraSerializer>" }).Where(new { SavedQueryId = "3C31CE6D-4AC3-45E8-B74F-D672902AEE0C" });
        }
        public override void Down()
        {
            Update.Table("SavedQuery").Set(new { LayoutXml = "<XtraSerializer version=\"1.0\" application=\"View\">    <property name=\"#LayoutVersion\" />    <property name=\"GroupPanelText\" />    <property name=\"NewItemRowText\" />    <property name=\"GroupFooterShowMode\">VisibleIfExpanded</property>    <property name=\"LevelIndent\">-1</property>    <property name=\"PreviewIndent\">-1</property>    <property name=\"PreviewLineCount\">-1</property>    <property name=\"BestFitMaxRowCount\">-1</property>    <property name=\"ScrollStyle\">LiveVertScroll, LiveHorzScroll</property>    <property name=\"FocusRectStyle\">RowFocus</property>    <property name=\"HorzScrollStep\">3</property>    <property name=\"PreviewFieldName\" />    <property name=\"ViewCaptionHeight\">-1</property>    <property name=\"ShowButtonMode\">ShowForFocusedCell</property>    <property name=\"Columns\" iskey=\"true\" value=\"24\">      <property name=\"Item1\" isnull=\"true\" iskey=\"true\">        <property name=\"Visible\">true</property>        <property name=\"VisibleIndex\">0</property>        <property name=\"Width\">132</property>        <property name=\"ColumnEditName\" />        <property name=\"Name\">colFullName</property>        <property name=\"OptionsColumn\" isnull=\"true\" iskey=\"true\">          <property name=\"FixedWidth\">true</property>        </property>        <property name=\"Caption\">FullName</property>        <property name=\"FieldName\">FullName</property>      </property>      <property name=\"Item2\" isnull=\"true\" iskey=\"true\">        <property name=\"Visible\">true</property>        <property name=\"VisibleIndex\">1</property>        <property name=\"Width\">230</property>        <property name=\"ColumnEditName\" />        <property name=\"Name\">colSubject</property>        <property name=\"Caption\">Subject</property>        <property name=\"FieldName\">Subject</property>      </property>      <property name=\"Item3\" isnull=\"true\" iskey=\"true\">        <property name=\"Visible\">true</property>        <property name=\"VisibleIndex\">3</property>        <property name=\"ColumnEditName\" />        <property name=\"Name\">colTechnologyCode</property>        <property name=\"Caption\">TechnologyCode</property>        <property name=\"FieldName\">TechnologyCode</property>      </property>      <property name=\"Item4\" isnull=\"true\" iskey=\"true\">        <property name=\"Visible\">true</property>        <property name=\"VisibleIndex\">5</property>        <property name=\"ColumnEditName\" />        <property name=\"Name\">colStatusCode</property>        <property name=\"OptionsColumn\" isnull=\"true\" iskey=\"true\">          <property name=\"FixedWidth\">true</property>        </property>        <property name=\"Caption\">StatusCode</property>        <property name=\"FieldName\">StatusCode</property>      </property>      <property name=\"Item5\" isnull=\"true\" iskey=\"true\">        <property name=\"ColumnEditName\" />        <property name=\"Name\">colCompanyName</property>        <property name=\"OptionsColumn\" isnull=\"true\" iskey=\"true\">          <property name=\"FixedWidth\">true</property>        </property>        <property name=\"Caption\">CompanyName</property>        <property name=\"FieldName\">CompanyName</property>      </property>      <property name=\"Item6\" isnull=\"true\" iskey=\"true\">        <property name=\"ColumnEditName\" />        <property name=\"Name\">colDescription</property>        <property name=\"OptionsColumn\" isnull=\"true\" iskey=\"true\">          <property name=\"FixedWidth\">true</property>        </property>        <property name=\"Caption\">Description</property>        <property name=\"FieldName\">Description</property>      </property>      <property name=\"Item7\" isnull=\"true\" iskey=\"true\">        <property name=\"Visible\">true</property>        <property name=\"VisibleIndex\">2</property>        <property name=\"ColumnEditName\" />        <property name=\"Name\">colEmailAddress</property>        <property name=\"OptionsColumn\" isnull=\"true\" iskey=\"true\">          <property name=\"FixedWidth\">true</property>        </property>        <property name=\"Caption\">EmailAddress</property>        <property name=\"FieldName\">EmailAddress</property>      </property>      <property name=\"Item8\" isnull=\"true\" iskey=\"true\">        <property name=\"ColumnEditName\" />        <property name=\"Name\">colFax</property>        <property name=\"OptionsColumn\" isnull=\"true\" iskey=\"true\">          <property name=\"FixedWidth\">true</property>        </property>        <property name=\"Caption\">Fax</property>        <property name=\"FieldName\">Fax</property>      </property>      <property name=\"Item9\" isnull=\"true\" iskey=\"true\">        <property name=\"ColumnEditName\" />        <property name=\"Name\">colFirstName</property>        <property name=\"OptionsColumn\" isnull=\"true\" iskey=\"true\">          <property name=\"FixedWidth\">true</property>        </property>        <property name=\"Caption\">FirstName</property>        <property name=\"FieldName\">FirstName</property>      </property>      <property name=\"Item10\" isnull=\"true\" iskey=\"true\">        <property name=\"ColumnEditName\" />        <property name=\"Name\">colLastName</property>        <property name=\"OptionsColumn\" isnull=\"true\" iskey=\"true\">          <property name=\"FixedWidth\">true</property>        </property>        <property name=\"FieldName\">LastName</property>      </property>      <property name=\"Item11\" isnull=\"true\" iskey=\"true\">        <property name=\"ColumnEditName\" />        <property name=\"Name\">colLeadSourceCode</property>        <property name=\"OptionsColumn\" isnull=\"true\" iskey=\"true\">          <property name=\"FixedWidth\">true</property>        </property>        <property name=\"Caption\">Source</property>        <property name=\"FieldName\">LeadSourceCode</property>      </property>      <property name=\"Item12\" isnull=\"true\" iskey=\"true\">        <property name=\"ColumnEditName\" />        <property name=\"Name\">colMobilePhone</property>        <property name=\"OptionsColumn\" isnull=\"true\" iskey=\"true\">          <property name=\"FixedWidth\">true</property>        </property>        <property name=\"FieldName\">MobilePhone</property>      </property>      <property name=\"Item13\" isnull=\"true\" iskey=\"true\">        <property name=\"Visible\">true</property>        <property name=\"VisibleIndex\">8</property>        <property name=\"Width\">101</property>        <property name=\"ColumnEditName\" />        <property name=\"Name\">colModifiedOn</property>        <property name=\"OptionsColumn\" isnull=\"true\" iskey=\"true\">          <property name=\"FixedWidth\">true</property>        </property>        <property name=\"FieldName\">ModifiedOn</property>      </property>      <property name=\"Item14\" isnull=\"true\" iskey=\"true\">        <property name=\"ColumnEditName\" />        <property name=\"Name\">colCreatedOn</property>        <property name=\"OptionsColumn\" isnull=\"true\" iskey=\"true\">          <property name=\"FixedWidth\">true</property>        </property>        <property name=\"FieldName\">CreatedOn</property>      </property>      <property name=\"Item15\" isnull=\"true\" iskey=\"true\">        <property name=\"ColumnEditName\" />        <property name=\"Name\">colNumberOfEmployees</property>        <property name=\"OptionsColumn\" isnull=\"true\" iskey=\"true\">          <property name=\"FixedWidth\">true</property>        </property>        <property name=\"FieldName\">NumberOfEmployees</property>      </property>      <property name=\"Item16\" isnull=\"true\" iskey=\"true\">        <property name=\"Visible\">true</property>        <property name=\"VisibleIndex\">4</property>        <property name=\"ColumnEditName\" />        <property name=\"Name\">colPriorityCode</property>        <property name=\"OptionsColumn\" isnull=\"true\" iskey=\"true\">          <property name=\"FixedWidth\">true</property>        </property>        <property name=\"Caption\">Priority</property>        <property name=\"FieldName\">PriorityCode</property>      </property>      <property name=\"Item17\" isnull=\"true\" iskey=\"true\">        <property name=\"ColumnEditName\" />        <property name=\"Name\">colRevenue</property>        <property name=\"OptionsColumn\" isnull=\"true\" iskey=\"true\">          <property name=\"FixedWidth\">true</property>        </property>        <property name=\"FieldName\">Revenue</property>      </property>      <property name=\"Item18\" isnull=\"true\" iskey=\"true\">        <property name=\"ColumnEditName\" />        <property name=\"Name\">colTelephone1</property>        <property name=\"OptionsColumn\" isnull=\"true\" iskey=\"true\">          <property name=\"FixedWidth\">true</property>        </property>        <property name=\"Caption\">Office Phone</property>        <property name=\"FieldName\">Telephone1</property>      </property>      <property name=\"Item19\" isnull=\"true\" iskey=\"true\">        <property name=\"ColumnEditName\" />        <property name=\"Name\">colWebSiteUrl</property>        <property name=\"OptionsColumn\" isnull=\"true\" iskey=\"true\">          <property name=\"FixedWidth\">true</property>        </property>        <property name=\"FieldName\">WebSiteUrl</property>      </property>      <property name=\"Item20\" isnull=\"true\" iskey=\"true\">        <property name=\"ColumnEditName\" />        <property name=\"Name\">colCountry</property>        <property name=\"OptionsColumn\" isnull=\"true\" iskey=\"true\">          <property name=\"FixedWidth\">true</property>        </property>        <property name=\"Caption\">CountryCode</property>        <property name=\"FieldName\">Country</property>      </property>      <property name=\"Item21\" isnull=\"true\" iskey=\"true\">        <property name=\"Visible\">true</property>        <property name=\"VisibleIndex\">6</property>        <property name=\"ColumnEditName\" />        <property name=\"Name\">colOwnerId</property>        <property name=\"FieldName\">OwnerId</property>      </property>      <property name=\"Item22\" isnull=\"true\" iskey=\"true\">        <property name=\"ColumnEditName\" />        <property name=\"Name\">colCreatedById</property>        <property name=\"FieldName\">CreatedById</property>      </property>      <property name=\"Item23\" isnull=\"true\" iskey=\"true\">        <property name=\"Visible\">true</property>        <property name=\"VisibleIndex\">7</property>        <property name=\"ColumnEditName\" />        <property name=\"Name\">colDepartmentId</property>        <property name=\"FieldName\">DepartmentId</property>      </property>      <property name=\"Item24\" isnull=\"true\" iskey=\"true\">        <property name=\"ColumnEditName\" />        <property name=\"Name\">colModifiedById</property>        <property name=\"FieldName\">ModifiedById</property>      </property>    </property>    <property name=\"ViewCaption\" />    <property name=\"BorderStyle\">Default</property>    <property name=\"SynchronizeClones\">true</property>    <property name=\"DetailTabHeaderLocation\">Top</property>    <property name=\"Name\">EntityGridView</property>    <property name=\"DetailHeight\">350</property>    <property name=\"ActiveFilterEnabled\">true</property>    <property name=\"VertScrollTipFieldName\" />    <property name=\"GroupFormat\">{0}: [#image]{1} {2}</property>    <property name=\"OptionsView\" isnull=\"true\" iskey=\"true\">      <property name=\"ShowFilterPanelMode\">Never</property>      <property name=\"ShowIndicator\">false</property>      <property name=\"ShowGroupPanel\">false</property>      <property name=\"WaitAnimationOptions\">Panel</property>      <property name=\"ColumnAutoWidth\">false</property>    </property>    <property name=\"OptionsBehavior\" isnull=\"true\" iskey=\"true\">      <property name=\"Editable\">false</property>      <property name=\"AllowIncrementalSearch\">true</property>    </property>    <property name=\"FixedLineWidth\">2</property>    <property name=\"OptionsDetail\" isnull=\"true\" iskey=\"true\">      <property name=\"EnableMasterViewMode\">false</property>    </property>    <property name=\"ChildGridLevelName\" />    <property name=\"IndicatorWidth\">-1</property>    <property name=\"OptionsSelection\" isnull=\"true\" iskey=\"true\">      <property name=\"EnableAppearanceFocusedCell\">false</property>    </property>    <property name=\"ColumnPanelRowHeight\">-1</property>    <property name=\"VertScrollVisibility\">Auto</property>    <property name=\"GroupRowHeight\">-1</property>    <property name=\"HorzScrollVisibility\">Auto</property>    <property name=\"FooterPanelHeight\">-1</property>    <property name=\"RowSeparatorHeight\">0</property>    <property name=\"RowHeight\">-1</property>    <property name=\"ActiveFilterString\" />    <property name=\"GroupSummary\" iskey=\"true\" value=\"0\" />    <property name=\"SortInfo\">~Xtra#Base64AAEAAAD/////AQAAAAAAAAAMAgAAAF1EZXZFeHByZXNzLlh0cmFHcmlkLnYxMi4xLCBWZXJzaW9uPTEyLjEuNy4wLCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI4OGQxNzU0ZDcwMGU0OWEFAQAAADhEZXZFeHByZXNzLlh0cmFHcmlkLkNvbHVtbnMuR3JpZENvbHVtblNvcnRJbmZvQ29sbGVjdGlvbgQAAAAKZ3JvdXBDb3VudAVjbG9uZQ9jbG9uZUdyb3VwQ291bnQTQ29sbGVjdGlvbkJhc2UrbGlzdAADAAMIsgFTeXN0ZW0uQ29sbGVjdGlvbnMuR2VuZXJpYy5MaXN0YDFbW0RldkV4cHJlc3MuWHRyYUdyaWQuQ29sdW1ucy5HcmlkQ29sdW1uU29ydEluZm8sIERldkV4cHJlc3MuWHRyYUdyaWQudjEyLjEsIFZlcnNpb249MTIuMS43LjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjg4ZDE3NTRkNzAwZTQ5YV1dCBxTeXN0ZW0uQ29sbGVjdGlvbnMuQXJyYXlMaXN0AgAAAAAAAAAJAwAAAAAAAAAJBAAAAAQDAAAAsgFTeXN0ZW0uQ29sbGVjdGlvbnMuR2VuZXJpYy5MaXN0YDFbW0RldkV4cHJlc3MuWHRyYUdyaWQuQ29sdW1ucy5HcmlkQ29sdW1uU29ydEluZm8sIERldkV4cHJlc3MuWHRyYUdyaWQudjEyLjEsIFZlcnNpb249MTIuMS43LjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjg4ZDE3NTRkNzAwZTQ5YV1dAwAAAAZfaXRlbXMFX3NpemUIX3ZlcnNpb24EAAAwRGV2RXhwcmVzcy5YdHJhR3JpZC5Db2x1bW5zLkdyaWRDb2x1bW5Tb3J0SW5mb1tdAgAAAAgICQUAAAAAAAAAAAAAAAQEAAAAHFN5c3RlbS5Db2xsZWN0aW9ucy5BcnJheUxpc3QDAAAABl9pdGVtcwVfc2l6ZQhfdmVyc2lvbgUAAAgICQYAAAABAAAABgAAAAcFAAAAAAEAAAAAAAAABC5EZXZFeHByZXNzLlh0cmFHcmlkLkNvbHVtbnMuR3JpZENvbHVtblNvcnRJbmZvAgAAABAGAAAABAAAAAkHAAAADQMMCAAAABlEZXZFeHByZXNzLlh0cmFHcmlkLnYxMi4xBQcAAAAuRGV2RXhwcmVzcy5YdHJhR3JpZC5Db2x1bW5zLkdyaWRDb2x1bW5Tb3J0SW5mbwIAAAAJU29ydE9yZGVyCkNvbHVtbk5hbWUAAQgIAAAAAgAAAAYJAAAADWNvbE1vZGlmaWVkT24L</property>    <property name=\"FormatConditions\" iskey=\"true\" value=\"1\">      <property name=\"Item1\" isnull=\"true\" iskey=\"true\">        <property name=\"ColumnName\" />        <property name=\"Condition\">Expression</property>      </property>    </property>    <property name=\"GroupSummarySortInfoState\" />    <property name=\"FindFilterText\" />    <property name=\"FindPanelVisible\">false</property>  </XtraSerializer>" }).Where(new { SavedQueryId = "21AC7559-5E31-4054-AC2F-29ADB3BC8D1C" });
            Update.Table("SavedQuery").Set(new { LayoutXml = "<XtraSerializer version=\"1.0\" application=\"View\">    <property name=\"#LayoutVersion\" />    <property name=\"GroupPanelText\" />    <property name=\"NewItemRowText\" />    <property name=\"GroupFooterShowMode\">VisibleIfExpanded</property>    <property name=\"LevelIndent\">-1</property>    <property name=\"PreviewIndent\">-1</property>    <property name=\"PreviewLineCount\">-1</property>    <property name=\"BestFitMaxRowCount\">-1</property>    <property name=\"ScrollStyle\">LiveVertScroll, LiveHorzScroll</property>    <property name=\"FocusRectStyle\">RowFocus</property>    <property name=\"HorzScrollStep\">3</property>    <property name=\"PreviewFieldName\" />    <property name=\"ViewCaptionHeight\">-1</property>    <property name=\"ShowButtonMode\">ShowForFocusedCell</property>    <property name=\"Columns\" iskey=\"true\" value=\"25\">      <property name=\"Item1\" isnull=\"true\" iskey=\"true\">        <property name=\"ColumnEditName\" />        <property name=\"Name\">colActualCloseDate</property>        <property name=\"FieldName\">ActualCloseDate</property>      </property>      <property name=\"Item2\" isnull=\"true\" iskey=\"true\">        <property name=\"ColumnEditName\" />        <property name=\"Name\">colCloseProbability</property>        <property name=\"FieldName\">CloseProbability</property>      </property>      <property name=\"Item3\" isnull=\"true\" iskey=\"true\">        <property name=\"ColumnEditName\" />        <property name=\"Name\">colActualValue</property>        <property name=\"FieldName\">ActualValue</property>      </property>      <property name=\"Item4\" isnull=\"true\" iskey=\"true\">        <property name=\"ColumnEditName\" />        <property name=\"Name\">colCreatedOn</property>        <property name=\"FieldName\">CreatedOn</property>      </property>      <property name=\"Item5\" isnull=\"true\" iskey=\"true\">        <property name=\"Width\">150</property>        <property name=\"ColumnEditName\" />        <property name=\"Name\">colDescription</property>        <property name=\"FieldName\">Description</property>      </property>      <property name=\"Item6\" isnull=\"true\" iskey=\"true\">        <property name=\"Visible\">true</property>        <property name=\"VisibleIndex\">9</property>        <property name=\"Width\">82</property>        <property name=\"ColumnEditName\" />        <property name=\"Name\">colEstimatedCloseDate</property>        <property name=\"FieldName\">EstimatedCloseDate</property>      </property>      <property name=\"Item7\" isnull=\"true\" iskey=\"true\">        <property name=\"DisplayFormat\" isnull=\"true\" iskey=\"true\">          <property name=\"FormatString\">n0</property>          <property name=\"FormatType\">Numeric</property>        </property>        <property name=\"Visible\">true</property>        <property name=\"VisibleIndex\">4</property>        <property name=\"Width\">79</property>        <property name=\"ColumnEditName\" />        <property name=\"Name\">colEstimatedValue</property>        <property name=\"FieldName\">EstimatedValue</property>      </property>      <property name=\"Item8\" isnull=\"true\" iskey=\"true\">        <property name=\"ColumnEditName\" />        <property name=\"Name\">colLeadSourceCode</property>        <property name=\"FieldName\">LeadSourceCode</property>      </property>      <property name=\"Item9\" isnull=\"true\" iskey=\"true\">        <property name=\"Visible\">true</property>        <property name=\"VisibleIndex\">12</property>        <property name=\"Width\">103</property>        <property name=\"ColumnEditName\" />        <property name=\"Name\">colModifiedOn</property>        <property name=\"FieldName\">ModifiedOn</property>      </property>      <property name=\"Item10\" isnull=\"true\" iskey=\"true\">        <property name=\"Visible\">true</property>        <property name=\"VisibleIndex\">0</property>        <property name=\"Width\">145</property>        <property name=\"ColumnEditName\" />        <property name=\"Name\">colName</property>        <property name=\"FieldName\">Name</property>      </property>      <property name=\"Item11\" isnull=\"true\" iskey=\"true\">        <property name=\"ColumnEditName\" />        <property name=\"Name\">colOpportunityId</property>        <property name=\"FieldName\">OpportunityId</property>      </property>      <property name=\"Item12\" isnull=\"true\" iskey=\"true\">        <property name=\"Visible\">true</property>        <property name=\"VisibleIndex\">6</property>        <property name=\"Width\">72</property>        <property name=\"ColumnEditName\" />        <property name=\"Name\">colOpportunityRatingCode</property>        <property name=\"FieldName\">OpportunityRatingCode</property>      </property>      <property name=\"Item13\" isnull=\"true\" iskey=\"true\">        <property name=\"ColumnEditName\" />        <property name=\"Name\">colOpportunityTypeCode</property>        <property name=\"FieldName\">OpportunityTypeCode</property>      </property>      <property name=\"Item14\" isnull=\"true\" iskey=\"true\">        <property name=\"Visible\">true</property>        <property name=\"VisibleIndex\">7</property>        <property name=\"Width\">73</property>        <property name=\"ColumnEditName\" />        <property name=\"Name\">colSalesStageCode</property>        <property name=\"Caption\">SalesStage</property>        <property name=\"FieldName\">SalesStageCode</property>      </property>      <property name=\"Item15\" isnull=\"true\" iskey=\"true\">        <property name=\"Visible\">true</property>        <property name=\"VisibleIndex\">5</property>        <property name=\"Width\">55</property>        <property name=\"ColumnEditName\" />        <property name=\"Name\">colPriorityCode</property>        <property name=\"FieldName\">PriorityCode</property>      </property>      <property name=\"Item16\" isnull=\"true\" iskey=\"true\">        <property name=\"Width\">100</property>        <property name=\"ColumnEditName\" />        <property name=\"Name\">colStepName</property>        <property name=\"FieldName\">StepName</property>      </property>      <property name=\"Item17\" isnull=\"true\" iskey=\"true\">        <property name=\"Visible\">true</property>        <property name=\"VisibleIndex\">2</property>        <property name=\"Width\">103</property>        <property name=\"ColumnEditName\" />        <property name=\"Name\">colTechnologyCode</property>        <property name=\"FieldName\">TechnologyCode</property>      </property>      <property name=\"Item18\" isnull=\"true\" iskey=\"true\">        <property name=\"Visible\">true</property>        <property name=\"VisibleIndex\">1</property>        <property name=\"Width\">95</property>        <property name=\"ColumnEditName\" />        <property name=\"Name\">colProjectTypeCode</property>        <property name=\"FieldName\">ProjectTypeCode</property>      </property>      <property name=\"Item19\" isnull=\"true\" iskey=\"true\">        <property name=\"ColumnEditName\" />        <property name=\"Name\">colCreatedById</property>        <property name=\"FieldName\">CreatedById</property>      </property>      <property name=\"Item20\" isnull=\"true\" iskey=\"true\">        <property name=\"Visible\">true</property>        <property name=\"VisibleIndex\">3</property>        <property name=\"ColumnEditName\" />        <property name=\"Name\">colCustomerId</property>        <property name=\"FieldName\">CustomerId</property>      </property>      <property name=\"Item21\" isnull=\"true\" iskey=\"true\">        <property name=\"Visible\">true</property>        <property name=\"VisibleIndex\">8</property>        <property name=\"Width\">67</property>        <property name=\"ColumnEditName\" />        <property name=\"Name\">colStatusCode</property>        <property name=\"FieldName\">StatusCode</property>      </property>      <property name=\"Item22\" isnull=\"true\" iskey=\"true\">        <property name=\"Visible\">true</property>        <property name=\"VisibleIndex\">11</property>        <property name=\"ColumnEditName\" />        <property name=\"Name\">colDepartmentId</property>        <property name=\"FieldName\">DepartmentId</property>      </property>      <property name=\"Item23\" isnull=\"true\" iskey=\"true\">        <property name=\"ColumnEditName\" />        <property name=\"Name\">colModifiedById</property>        <property name=\"FieldName\">ModifiedById</property>      </property>      <property name=\"Item24\" isnull=\"true\" iskey=\"true\">        <property name=\"Visible\">true</property>        <property name=\"VisibleIndex\">10</property>        <property name=\"ColumnEditName\" />        <property name=\"Name\">colOwnerId</property>        <property name=\"FieldName\">OwnerId</property>      </property>      <property name=\"Item25\" isnull=\"true\" iskey=\"true\">        <property name=\"ColumnEditName\" />        <property name=\"Name\">colTechnicianId</property>        <property name=\"FieldName\">TechnicianId</property>      </property>    </property>    <property name=\"ViewCaption\" />    <property name=\"BorderStyle\">Default</property>    <property name=\"SynchronizeClones\">true</property>    <property name=\"DetailTabHeaderLocation\">Top</property>    <property name=\"Name\">gridView1</property>    <property name=\"DetailHeight\">350</property>    <property name=\"ActiveFilterEnabled\">true</property>    <property name=\"VertScrollTipFieldName\" />    <property name=\"GroupFormat\">{0}: [#image]{1} {2}</property>    <property name=\"OptionsView\" isnull=\"true\" iskey=\"true\">      <property name=\"ShowFilterPanelMode\">Never</property>      <property name=\"ShowIndicator\">false</property>      <property name=\"ShowGroupPanel\">false</property>      <property name=\"WaitAnimationOptions\">Panel</property>      <property name=\"ColumnAutoWidth\">false</property>    </property>    <property name=\"OptionsBehavior\" isnull=\"true\" iskey=\"true\">      <property name=\"Editable\">false</property>      <property name=\"AutoPopulateColumns\">false</property>    </property>    <property name=\"FixedLineWidth\">2</property>    <property name=\"OptionsDetail\" isnull=\"true\" iskey=\"true\">      <property name=\"EnableMasterViewMode\">false</property>    </property>    <property name=\"ChildGridLevelName\" />    <property name=\"IndicatorWidth\">-1</property>    <property name=\"OptionsSelection\" isnull=\"true\" iskey=\"true\">      <property name=\"EnableAppearanceFocusedCell\">false</property>    </property>    <property name=\"ColumnPanelRowHeight\">-1</property>    <property name=\"VertScrollVisibility\">Auto</property>    <property name=\"GroupRowHeight\">-1</property>    <property name=\"HorzScrollVisibility\">Auto</property>    <property name=\"FooterPanelHeight\">-1</property>    <property name=\"RowSeparatorHeight\">0</property>    <property name=\"RowHeight\">-1</property>    <property name=\"ActiveFilterString\" />    <property name=\"GroupSummary\" iskey=\"true\" value=\"0\" />    <property name=\"SortInfo\">~Xtra#Base64AAEAAAD/////AQAAAAAAAAAMAgAAAF1EZXZFeHByZXNzLlh0cmFHcmlkLnYxMi4xLCBWZXJzaW9uPTEyLjEuNy4wLCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI4OGQxNzU0ZDcwMGU0OWEFAQAAADhEZXZFeHByZXNzLlh0cmFHcmlkLkNvbHVtbnMuR3JpZENvbHVtblNvcnRJbmZvQ29sbGVjdGlvbgQAAAAKZ3JvdXBDb3VudAVjbG9uZQ9jbG9uZUdyb3VwQ291bnQTQ29sbGVjdGlvbkJhc2UrbGlzdAADAAMIsgFTeXN0ZW0uQ29sbGVjdGlvbnMuR2VuZXJpYy5MaXN0YDFbW0RldkV4cHJlc3MuWHRyYUdyaWQuQ29sdW1ucy5HcmlkQ29sdW1uU29ydEluZm8sIERldkV4cHJlc3MuWHRyYUdyaWQudjEyLjEsIFZlcnNpb249MTIuMS43LjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjg4ZDE3NTRkNzAwZTQ5YV1dCBxTeXN0ZW0uQ29sbGVjdGlvbnMuQXJyYXlMaXN0AgAAAAAAAAAJAwAAAAAAAAAJBAAAAAQDAAAAsgFTeXN0ZW0uQ29sbGVjdGlvbnMuR2VuZXJpYy5MaXN0YDFbW0RldkV4cHJlc3MuWHRyYUdyaWQuQ29sdW1ucy5HcmlkQ29sdW1uU29ydEluZm8sIERldkV4cHJlc3MuWHRyYUdyaWQudjEyLjEsIFZlcnNpb249MTIuMS43LjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjg4ZDE3NTRkNzAwZTQ5YV1dAwAAAAZfaXRlbXMFX3NpemUIX3ZlcnNpb24EAAAwRGV2RXhwcmVzcy5YdHJhR3JpZC5Db2x1bW5zLkdyaWRDb2x1bW5Tb3J0SW5mb1tdAgAAAAgICQUAAAAAAAAAAAAAAAQEAAAAHFN5c3RlbS5Db2xsZWN0aW9ucy5BcnJheUxpc3QDAAAABl9pdGVtcwVfc2l6ZQhfdmVyc2lvbgUAAAgICQYAAAABAAAABgAAAAcFAAAAAAEAAAAAAAAABC5EZXZFeHByZXNzLlh0cmFHcmlkLkNvbHVtbnMuR3JpZENvbHVtblNvcnRJbmZvAgAAABAGAAAABAAAAAkHAAAADQMMCAAAABlEZXZFeHByZXNzLlh0cmFHcmlkLnYxMi4xBQcAAAAuRGV2RXhwcmVzcy5YdHJhR3JpZC5Db2x1bW5zLkdyaWRDb2x1bW5Tb3J0SW5mbwIAAAAJU29ydE9yZGVyCkNvbHVtbk5hbWUAAQgIAAAAAgAAAAYJAAAADWNvbE1vZGlmaWVkT24L</property>    <property name=\"FormatConditions\" iskey=\"true\" value=\"0\" />    <property name=\"GroupSummarySortInfoState\" />    <property name=\"FindFilterText\" />    <property name=\"FindPanelVisible\">false</property>  </XtraSerializer>" }).Where(new { SavedQueryId = "89818C3C-29B0-4D1F-9E09-BB50075141C0" });
            Update.Table("SavedQuery").Set(new { LayoutXml = "<XtraSerializer version=\"1.0\" application=\"View\">    <property name=\"#LayoutVersion\" />    <property name=\"ScrollStyle\">LiveVertScroll, LiveHorzScroll</property>    <property name=\"BestFitMaxRowCount\">-1</property>    <property name=\"HorzScrollStep\">3</property>    <property name=\"FocusRectStyle\">RowFocus</property>    <property name=\"PreviewLineCount\">-1</property>    <property name=\"NewItemRowText\" />    <property name=\"GroupPanelText\" />    <property name=\"PreviewFieldName\" />    <property name=\"PreviewIndent\">-1</property>    <property name=\"LevelIndent\">-1</property>    <property name=\"GroupFooterShowMode\">VisibleIfExpanded</property>    <property name=\"ActiveFilterEnabled\">true</property>    <property name=\"SynchronizeClones\">true</property>    <property name=\"BorderStyle\">Default</property>    <property name=\"ViewCaption\" />    <property name=\"DetailHeight\">350</property>    <property name=\"Name\">gridView1</property>    <property name=\"DetailTabHeaderLocation\">Top</property>    <property name=\"Columns\" iskey=\"true\" value=\"21\">      <property name=\"Item1\" isnull=\"true\" iskey=\"true\">        <property name=\"Width\">150</property>        <property name=\"Visible\">true</property>        <property name=\"VisibleIndex\">0</property>        <property name=\"Name\">colName</property>        <property name=\"ColumnEditName\" />        <property name=\"FieldName\">Name</property>      </property>      <property name=\"Item2\" isnull=\"true\" iskey=\"true\">        <property name=\"Width\">95</property>        <property name=\"Visible\">true</property>        <property name=\"VisibleIndex\">3</property>        <property name=\"Name\">colPlannedStartDate</property>        <property name=\"ColumnEditName\" />        <property name=\"FieldName\">PlannedStartDate</property>      </property>      <property name=\"Item3\" isnull=\"true\" iskey=\"true\">        <property name=\"Width\">95</property>        <property name=\"Visible\">true</property>        <property name=\"VisibleIndex\">5</property>        <property name=\"Name\">colPlannedEndDate</property>        <property name=\"ColumnEditName\" />        <property name=\"FieldName\">PlannedEndDate</property>      </property>      <property name=\"Item4\" isnull=\"true\" iskey=\"true\">        <property name=\"Width\">95</property>        <property name=\"Visible\">true</property>        <property name=\"VisibleIndex\">4</property>        <property name=\"Name\">colActualStartDate</property>        <property name=\"ColumnEditName\" />        <property name=\"FieldName\">ActualStartDate</property>      </property>      <property name=\"Item5\" isnull=\"true\" iskey=\"true\">        <property name=\"Width\">95</property>        <property name=\"Visible\">true</property>        <property name=\"VisibleIndex\">7</property>        <property name=\"Name\">colActualEndDate</property>        <property name=\"ColumnEditName\" />        <property name=\"FieldName\">ActualEndDate</property>      </property>      <property name=\"Item6\" isnull=\"true\" iskey=\"true\">        <property name=\"Width\">110</property>        <property name=\"Visible\">true</property>        <property name=\"VisibleIndex\">2</property>        <property name=\"Name\">colActualProgress</property>        <property name=\"ColumnEditName\" />        <property name=\"FieldName\">ActualProgress</property>      </property>      <property name=\"Item7\" isnull=\"true\" iskey=\"true\">        <property name=\"Width\">91</property>        <property name=\"Visible\">true</property>        <property name=\"VisibleIndex\">1</property>        <property name=\"Name\">colStatusCode</property>        <property name=\"ColumnEditName\" />        <property name=\"FieldName\">StatusCode</property>      </property>      <property name=\"Item8\" isnull=\"true\" iskey=\"true\">        <property name=\"Width\">95</property>        <property name=\"Visible\">true</property>        <property name=\"VisibleIndex\">6</property>        <property name=\"Name\">colEstimatedEndDate</property>        <property name=\"ColumnEditName\" />        <property name=\"FieldName\">EstimatedEndDate</property>      </property>      <property name=\"Item9\" isnull=\"true\" iskey=\"true\">        <property name=\"Name\">colManagerId</property>        <property name=\"ColumnEditName\" />        <property name=\"FieldName\">ManagerId</property>      </property>      <property name=\"Item10\" isnull=\"true\" iskey=\"true\">        <property name=\"Width\">110</property>        <property name=\"Visible\">true</property>        <property name=\"VisibleIndex\">8</property>        <property name=\"Name\">colSaleService</property>        <property name=\"ColumnEditName\" />        <property name=\"FieldName\">SaleServiceId</property>      </property>      <property name=\"Item11\" isnull=\"true\" iskey=\"true\">        <property name=\"Width\">150</property>        <property name=\"Name\">colTechnologyCode</property>        <property name=\"ColumnEditName\" />        <property name=\"FieldName\">TechnologyCode</property>      </property>      <property name=\"Item12\" isnull=\"true\" iskey=\"true\">        <property name=\"Width\">100</property>        <property name=\"Name\">colProjectTypeCode</property>        <property name=\"ColumnEditName\" />        <property name=\"FieldName\">ProjectTypeCode</property>      </property>      <property name=\"Item13\" isnull=\"true\" iskey=\"true\">        <property name=\"Name\">colSumQuoteWorkHours</property>        <property name=\"Caption\"></property>        <property name=\"ColumnEditName\" />      </property>      <property name=\"Item14\" isnull=\"true\" iskey=\"true\">        <property name=\"Name\">colSumActualWorkHours</property>        <property name=\"Caption\"></property>        <property name=\"ColumnEditName\" />      </property>      <property name=\"Item15\" isnull=\"true\" iskey=\"true\">        <property name=\"Name\">colSumActualInput</property>        <property name=\"Caption\"></property>        <property name=\"ColumnEditName\" />      </property>      <property name=\"Item16\" isnull=\"true\" iskey=\"true\">        <property name=\"Name\">colSumEffort</property>        <property name=\"Caption\"></property>        <property name=\"ColumnEditName\" />      </property>      <property name=\"Item17\" isnull=\"true\" iskey=\"true\">        <property name=\"Name\">colSumOvertime</property>        <property name=\"Caption\"></property>        <property name=\"ColumnEditName\" />      </property>      <property name=\"Item18\" isnull=\"true\" iskey=\"true\">        <property name=\"Name\">colSumRemainderTime</property>        <property name=\"Caption\"></property>        <property name=\"ColumnEditName\" />      </property>   <property name=\"Item19\" isnull=\"true\" iskey=\"true\">        <property name=\"Width\">130</property>        <property name=\"Name\">colContact</property>        <property name=\"ColumnEditName\" />        <property name=\"FieldName\">Contact</property>      </property>      <property name=\"Item20\" isnull=\"true\" iskey=\"true\">        <property name=\"Name\">colEvaluateExactlyRate</property>        <property name=\"Caption\"></property>        <property name=\"ColumnEditName\" />      </property>   <property name=\"Item21\" isnull=\"true\" iskey=\"true\">        <property name=\"Name\">colInputEffortRate</property>        <property name=\"Caption\"></property>        <property name=\"ColumnEditName\" />      </property>    </property>    <property name=\"ShowButtonMode\">ShowForFocusedCell</property>    <property name=\"ViewCaptionHeight\">-1</property>    <property name=\"VertScrollTipFieldName\" />    <property name=\"OptionsView\" isnull=\"true\" iskey=\"true\">      <property name=\"ShowGroupPanel\">false</property>      <property name=\"ShowFilterPanelMode\">Never</property>      <property name=\"ShowIndicator\">false</property>      <property name=\"ColumnAutoWidth\">false</property>      <property name=\"WaitAnimationOptions\">Panel</property>    </property>    <property name=\"OptionsSelection\" isnull=\"true\" iskey=\"true\">      <property name=\"EnableAppearanceFocusedCell\">false</property>    </property>    <property name=\"RowSeparatorHeight\">0</property>    <property name=\"FixedLineWidth\">2</property>    <property name=\"IndicatorWidth\">-1</property>    <property name=\"ColumnPanelRowHeight\">-1</property>    <property name=\"GroupRowHeight\">-1</property>    <property name=\"RowHeight\">-1</property>    <property name=\"OptionsBehavior\" isnull=\"true\" iskey=\"true\">      <property name=\"Editable\">false</property>    </property>    <property name=\"GroupFormat\">{0}: [#image]{1} {2}</property>    <property name=\"FooterPanelHeight\">-1</property>    <property name=\"OptionsDetail\" isnull=\"true\" iskey=\"true\">      <property name=\"EnableMasterViewMode\">false</property>    </property>    <property name=\"ChildGridLevelName\" />    <property name=\"VertScrollVisibility\">Auto</property>    <property name=\"HorzScrollVisibility\">Auto</property>    <property name=\"FormatConditions\" iskey=\"true\" value=\"0\" />    <property name=\"GroupSummary\" iskey=\"true\" value=\"0\" />    <property name=\"ActiveFilterString\" />    <property name=\"GroupSummarySortInfoState\" />  </XtraSerializer>" }).Where(new { SavedQueryId = "3C31CE6D-4AC3-45E8-B74F-D672902AEE0C" });
        }
    }
}
